abstract type TestGridConfig end

struct TestConfig
    field1::Symbol
    field2::TestGridConfig
end

# This should work fine
function TestConfig(
    grid_config::TestGridConfig;
    field1::Symbol = :default
)
    return TestConfig(field1, grid_config)
end

println("Constructor syntax test passed")